home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Esportes / PongTable.swf / scripts / DefineButton2_212 / BUTTONCONDACTION on(keyPress Right).as < prev   
Encoding:
Text File  |  2005-08-04  |  152 b   |  11 lines

  1. on(keyPress "<Right>"){
  2.    if(455 >= _root.bar._x)
  3.    {
  4.       _root.bar._x += 20;
  5.    }
  6.    else
  7.    {
  8.       _root.bar._x = _root.bar._x;
  9.    }
  10. }
  11.